Method and apparatus for multi-die thermal analysis

ABSTRACT

Some embodiments of the invention provide a method for performing thermal analysis of a multi-die integrated circuit (IC) design layout. The thermal analysis produces a temperature distribution for analyzing internal properties of each die within the multi-die design and for analyzing thermal interactions between two or more dies of the design based on an internal configuration of the two or more dies. Therefore, in some embodiments, the temperature distribution shows a temperature distribution for each die and the individual temperature distributions show varying temperature across each of the dies. Some embodiments reduce the number of iteration required to perform the thermal analysis by constructing a high quality preconditioner based on thermal conducting segments introduced to model thermal effects at the boundaries between two dies.

This Application is a divisional application of U.S. patent applicationSer. No. 12/180,490, filed Jul. 25, 2008, now published as U.S.Publication 2010/0023903, now issued as U.S. Pat. No. 8,201,113. U.S.Publication 2010/0023903, now issued as U.S. Pat. No. 8,201,113 isincorporated herein by reference.

FIELD OF THE INVENTION

Some embodiments of the invention provide a method for performingthermal analysis of a multi-die integrated circuit design.

BACKGROUND OF THE INVENTION

An integrated circuit (“IC”) is a device (e.g., semiconductor device)that includes many electronic components, such as transistors,resistors, diodes, etc. These electronic components can be connectedtogether to form multiple circuit components such as gates, cells,memory units, arithmetic units, controllers, decoders, etc. An ICincludes multiple layers of wiring that interconnect its electronic andcircuit components.

Design engineers design an IC by transforming logical or circuitdescriptions of the IC's components into geometric descriptions, calledlayouts. IC layouts typically include (1) circuit modules (i.e.,geometric representations of electronic or circuit IC components) withpins, and (2) interconnect lines (i.e., geometric representations ofwiring) that connect the pins of the circuit modules.

To create layouts, design engineers often use electronic designautomation (“EDA”) applications. These applications provide sets ofcomputer-based tools for creating, editing, and analyzing IC designlayouts. Examples of such tools include (1) standard cell libraries thatprovide numerous cells that can be instantiated as circuit modules in adesign, (2) placement tools that define the location of the variouscircuit modules in a layout, (3) routing tools that define the wiringbetween the circuit modules, and (4) verification tools that verify thatthe designed layout will meet design operation requirements.

One type of verification tools are thermal analysis tools. Prior thermalanalysis tools dealt mostly with the thermal properties of the ICpackages and often ignored thermal properties on the IC. These priortools were mainly concerned about the total power dissipation of the IC,and about whether a specific package was sufficient to cool a given IC.As a result, the IC often was treated as a lumped heat source, while themodel for the package was very detailed, including details regardingairflow around the package.

In recent years, the emergence of multi-die IC designs has created agreater need for on-chip thermal analysis. Multi-die IC designsincorporate two or more dies (i.e., wafers) within a single integratedcircuit (IC). Some benefits of multi-die IC designs include providinggreater functionality in a smaller space and operating at faster speedsas the multiple dies are located within the same package and thereforesuffer less propagation delay than two dies in two separate packages.

Logically, each die within a multi-die IC design may act as a differentprocessing unit, digital signal processor (DSP), or system-on-a-chip(SoC) with each die being comprised of multiple circuit modules,interconnects, etc. Physically, these dies can be configured in severaldifferent arrangements (e.g., horizontal arrangement of dies orvertically stacked dies) within a single package. Each arrangementproduces a different temperature distribution with each temperaturedistribution useful in determining the operational viability of theconfiguration within the real world.

Creating a functional multi-die design requires the design to not onlysuccessfully perform the operations specified in the design, but thedesign must also overcome the real world physical constraints thatdetermine the viability of the design within the real world. One suchphysical constraint includes the heat constraint which if exceeded couldresult in a malfunction, electrical damage, or physical damage to thecomponents (e.g., circuits) of the IC that implement the design.

Heat is byproduct of the current traversing the various circuits of theIC. A major contributor to the resulting heat generated by the design isthe amount of leakage current. As illustrated in FIG. 1, leakage currentis greatly affected by on-chip temperature variations. In fact, acircular dependency exists between the on-chip temperature, leakagecurrent, and power dissipation. As illustrated in FIG. 2, the leakagecurrent 210 affects the power dissipation 215. As the leakage current210 rises, the power dissipation 215 also rises along with it. The powerdissipation 215 increases the temperature 205, which in turn increasesthe leakage current 210. This circular set of dependencies creates thepotential for a runaway feedback loop in which the temperature of the ICcontinually increases with the leakage current.

By producing on-chip thermal models for a multi-die IC design, layoutdesigners will have additional means to overcome the heat constraint.Specifically, a multi-die IC design may satisfy or violate the heatconstraint depending on how the different dies are configured within aparticular package. As noted above, each configuration produces adifferent thermal signature. For instance, each die in a horizontallyarranged die configuration may experience equal amounts of heatdissipation through the package thus producing a first thermalsignature, whereas the same dies in a vertically stacked configurationwill include some dies located further away from the package with theheat generated from these dies being more difficult to dissipate, thusproducing a second thermal signature. Each such thermal signature canthen be used to determine how cool and how fast a multi-die design iscapable of operating. Additionally, accurate thermals signatures formulti-die designs identify thermal problems early in the design cycle.By being able to detect the thermal problems, layout designers will beable to select an optimal configuration and therefore better account forthe heat constraint at design time.

Accordingly, there is a need to perform thermal analysis to model thethermal interaction between the multiple dies of a multi-die design.Moreover, there is a need to efficiently perform such multi-die thermalanalysis. Such efficient analysis should reduce the amount of memory andprocessing resources that would otherwise be consumed when aggregatingthermal models that were individually computed for each die of themulti-die IC design.

SUMMARY OF THE INVENTION

Some embodiments of the invention provide a method for performingthermal analysis of a multi-die integrated circuit (IC) design layout.The thermal analysis produces a temperature distribution for analyzinginternal properties of each die within the multi-die design and foranalyzing thermal interactions between two or more dies of the designbased on an internal configuration of the two or more dies. Therefore,in some embodiments, the temperature distribution shows a temperaturedistribution for each die and the individual temperature distributionsshow varying temperature across each of the dies.

In some embodiments, performing the thermal analysis identifies thermaleffects at two or more locations along each die. Some embodiments usethermal elements to model the thermal effects at the locations.Specifically, some embodiments define internal thermal elements formodeling the internal thermal properties of a die and boundary thermalelements for modeling the thermal interdependencies between two or moreneighboring dies. In some embodiments, virtual segments are introducedat the boundary thermal elements to abstractly model thermal effects atthe contact points between two dies.

Some embodiments construct a set of equations representing the thermalmodel of each particular die based on the thermal elements for theparticular die. Some embodiments then combine the individual thermalmodels of each die to derive an overall heat flow equation for themulti-die design that when solved shows a temperature distribution foreach die in the design. To facilitate the solving of the overall heatflow equation, some embodiments apply a preconditioner to the overallheat flow equation. In some embodiments, the preconditioner isconstructed from a set of preconditioners derived from a factorizationof the thermal models of each die.

BRIEF DESCRIPTION OF THE DRAWINGS

The novel features of the invention are set forth in the appendedclaims. However, for purpose of explanation, several embodiments of theinvention are set forth in the following figures.

FIG. 1 illustrates that leakage current is greatly affected by on-chiptemperature variations.

FIG. 2 illustrates that the leakage current affects the powerdissipation

FIG. 3 presents a process performed by some embodiments of the inventionto perform the thermal analysis of a multi-die IC design.

FIG. 4 presents a process for deriving the heat flow equation for anentire multi-die design through a partitioning of the multi-die ICdesign.

FIG. 5 illustrates internal nodes and shared boundary nodes for bricksof a first chip a neighboring second chip.

FIG. 6 illustrates internal nodes and virtual segments between a brickof a first chip and a brick of neighboring second chip.

FIG. 7 illustrates a conceptual diagram of a heat source within adomain.

FIG. 8 illustrates a conductivity matrix for a chip that containsinternal nodes and boundary nodes in accordance with some embodiments.

FIG. 9 illustrates a preconditioner derived from the internal nodes ofthe conductivity matrix of FIG. 8.

FIG. 10 illustrates the multi-die design of FIG. 8 and its correspondingconductivity matrix, but with the boundary nodes replaced with virtualsegments.

FIG. 11 illustrates preconditioners for each chip of the multi-diedesign and the virtual segments of FIG. 10.

FIG. 12 illustrates a process for modeling the temperature distributionfor the entire multi-die design from the preprocessed information ofeach chip.

FIG. 13 illustrates a power distribution map.

FIG. 14 presents a solving process for iteratively solving the overallheat flow equation for the overall system.

FIG. 15 presents a process for determining the viability of a particularmulti-die configuration within a particular package in accordance withsome embodiments.

FIG. 16 illustrates a possible configuration for multiple chips of amulti-die design.

FIG. 17 presents an alternative configuration for the multiple chips ofthe multi-die design illustrated in FIG. 16.

FIG. 18 conceptually illustrates a computer system with which someembodiments of the present invention are implemented.

DETAILED DESCRIPTION OF THE INVENTION

In the following description, numerous details are set forth for thepurpose of explanation. However, one of ordinary skill in the art willrealize that the invention may be practiced without the use of thesespecific details. In other instances, well-known structures and devicesare shown in block diagram form in order not to obscure the descriptionof the invention with unnecessary detail.

I. Overview

Some embodiments of the invention provide a method for performingthermal analysis of a multi-die integrated circuit (IC) design layout.The thermal analysis produces a temperature distribution for analyzinginternal properties of each die within the multi-die design and foranalyzing thermal interactions between two or more dies of the designbased on an internal configuration of the two or more dies. Therefore,in some embodiments, the temperature distribution shows a temperaturedistribution for each die and the individual temperature distributionsshow varying temperature across each of the dies.

FIG. 3 presents a process 300 performed by some embodiments of theinvention to perform the thermal analysis of a multi-die IC design. Theprocess 300 begins by receiving (at 310) a multi-die design specifying aparticular configuration for the dies in the design. The processpartitions (at 320) the multi-die IC design by selecting individual dieswithin the design to preprocess. During preprocessing, some embodimentsderive (at 330) a set of equations that represent a thermal model forthe preprocessed die. To derive the set of equations, some embodimentsmodel thermal properties within each die and between different dies bydefining a set of thermal elements. Specifically, some embodimentsdefine internal thermal elements to model the internal thermalproperties of a die and boundary thermal elements to model the thermalinterdependencies between two or more neighboring dies.

In some embodiments, defining the thermal elements includes definingmultiple nodes throughout the die. The nodes facilitate determining thethermal models within each die and between different dies. In someembodiments, the defined nodes are vertices of three-dimensional bricksthat divide the die's design layout. Each node represents a space withinor around the die that accounts for the thermal effects (e.g., heatflow) of one or more thermal sources within the defined space overmultiple dimensions. For instance, a node may experience heat flow froman x-axis, y-axis, and/or z-axis of a three-dimensional space.Accordingly, internal nodes account for thermal effects from thermalsources particular to a single die, whereas boundary nodes account forthermal effects from thermal sources both internal to and external to agiven die.

Other embodiments utilize virtual segments as the thermal elements tomodel the thermal effects at contact points between two discreteabutting surfaces (e.g., two or more neighboring dies). Virtual segmentsrepresent highly conductive abstract connections that account for thethermal effects at the contact points over a single dimension. In someembodiments, virtual segments represent an extrapolation of a boundarynode at contact points between first and second dies. Specifically, aboundary node is logically extrapolated into a first internal node ofthe first die, a second internal node of the second die, and a virtualsegment to account for the thermal effects at the contact pointpreviously represented by the boundary node.

Together the internal nodes with the boundary nodes or virtual segmentsform a set of equations that expresses the temperature dependence of thepower dissipation for several circuit modules of a particular die. Thethermal model for the die is then stored (at 340) as the processproceeds (at 350) to preprocess the next die within the design until alldies in the multi-die IC design have been preprocessed.

The process then combines (at 360) the equations from each die toproduce an overall heat flow equation that expresses a temperaturedistribution for the entire multi-die design layout. Some embodimentsiteratively solve (at 370) the overall heat flow equation to convergethe sets of equations to a solution that satisfies a particular steadystate threshold.

In some embodiments, the number of iterations needed to converge to thesteady state solution is reduced by applying a preconditioner that isderived from each die to the overall heat flow equation. Thepreconditioner is a mathematical construct generated duringpreprocessing to assist in the convergence of the set of equations tothe steady state solution. Some embodiments derive the preconditionerfrom a set of known thermal properties for a given die.

The solution of the overall heat flow equation produces (at 380) atemperature distribution for the entire multi-die design that isdependent upon the configuration of the dies within the multi-die designand the thermal interactions occurring at the contact points betweenneighboring dies. In some embodiments, the resulting temperaturedistribution includes thermal maps for each die in the multi-die design.Some embodiments then utilize the resulting temperature distribution todetermine the viability of a particular configuration for two or moredies of a multi-die design within a particular package. Also from theresulting temperature distribution, some embodiments determine aconfiguration that yields an optimal temperature distribution for aparticular package.

Several more detailed embodiments are described in the sections below.Specifically, Section II describes preprocessing where the multi-die ICdesign is partitioned into more manageable sub-components. Next, SectionIII describes the construction and solving of the overall heat flowequation for the entire multi-die IC design. Lastly, Section IV providesa description of a system architecture with which some embodiments areimplemented.

II. Preprocessing

A. Overall Flow

As mentioned above, some embodiments perform the thermal analysis bypartitioning the multi-die IC design to select individual dies withinthe design to preprocess. The partitioning divides the complexcalculation for computing the temperature distribution of the entiremulti-die IC design into more manageable sub-components. FIG. 4 presentsa process 400 for deriving the heat flow equation for an entiremulti-die design through a partitioning of the multi-die IC design.

The process 400 begins by receiving (at 410) the multi-die IC design.The process 400 partitions the multi-die design by selecting (at 420) aparticular die from the multi-die design to preprocess. In someembodiments, preprocessing proceeds by modeling (at 430) thermalproperties (e.g., power dissipation, leakage current, temperature, etc.)at various locations along the selected die to derive the individual setof equations that produce the thermal model for the selected die.Specifically, a die includes (1) internal locations where the thermaleffects from sources outside the selected die do not directly influencethe thermal model at such internal locations and (2) boundary locationswhere the thermal effects from sources outside the selected die directlyinfluence the thermal model at such boundary locations.

Some embodiments define nodes and/or virtual segments to compute thermalmodels at specified internal and boundary locations. In this manner,some embodiments reduce the number of computations required to generatethe thermal model, thus avoiding having to continually compute thermaleffects over the entire area of the preprocessed die. Moreover,depending on the number of nodes and virtual segments used within thecomputations, some embodiments are able to modify the accuracy anddetail of the generated thermal models. Such modifications can be basedon available computing resources or a user's preference. A more detaileddescription of nodes and virtual segments is provided below inSubsection II B.

The process 400 then uses the models derived from the thermal propertiesto construct (at 440) the set of equations. In some embodiments, the setof equations (1) computes parameters of non-linear equations thatrepresent the leakage power dissipation of each particular circuitmodule and (2) expresses the on-die temperature in terms of the die'spower consumption. Deriving the set of equations is further explained inthe U.S. patent application entitled “Method and Apparatus for ThermalAnalysis” with Ser. No. 12/024,002 filed on Jan. 31, 2008, now issued asU.S. Pat. No. 8,104,006, which is incorporated herein by reference.

To expedite the solving of the set of equations, some embodimentsdetermine (at 450) a preconditioner. Specifically, a preconditioner is amathematical construct for assisting in the solving of linear systemswith ill-conditioned matrices where a small change in a coefficient ofone matrix results in a large change in the solution vector. A set ofequations with ill-conditioned matrices often requires multipleiterations to converge to a steady state solution vector. Thepreconditioner reduces the condition number for the ill-conditionedmatrices, thus allowing for quicker convergence to the steady statesolution vector. Some embodiments derive the preconditioner from a setof known thermal properties within the set of equations for a given die.In some embodiments, this is accomplished by factorizing particularmatrices within the set of equations. Deriving the preconditioner fromthe set of equations is described in further detail below in SubsectionII C.

The process 400 stores (at 460) the preprocessed data (i.e., the set ofequations and the corresponding preconditioner) for later retrieval whensolving the heat flow equation for the entire system. The process thenchecks (at 470) whether other dies within the multi-die design have yetto be preprocessed. If more dies remain, the process reverts to step 420and selects the next die for preprocessing. If no other dies remain, theprocess derives (at 480) an overall heat flow equation from thepreprocessed information to iteratively solve the temperaturedistribution for the entire multi-die IC design.

B. Nodes and Virtual Segments

Some embodiments derive the set of equations by defining nodes and/orvirtual segments to model the thermal effects at various internal andboundary locations of a particular die. In some embodiments, the definednodes are vertices of three-dimensional bricks that divide the die'sdesign layout. Each node represents a space within or around the diethat accounts for the thermal effects (e.g., heat flow) of one or morethermal sources within the defined space over multiple dimensions.

Some nodes (i.e., internal nodes) define a space within the preprocesseddie that models the thermal effects from thermal sources falling withinthe defined space. The thermal effects from the thermal sources fallingwithin the defined space include thermal effects from circuit elements,wiring, or thermal vias (i.e., through silicon vias) as some examples.Other nodes (i.e., boundary nodes) define a space at a boundary of thepreprocessed die that models the thermal effects from thermal sourcesboth internal to and external to the preprocessed die falling within thespace defined by the boundary node. The thermal effects from externalthermal sources include thermal effects from one or more neighboringdies or the thermal effects from the package.

The space defined by these nodes includes a multi-dimensional space. Assuch, each node will incorporate thermal effects occurring over themultiple dimensions. For a node defining a three dimensional space, thenode accounts for thermal contributions occurring over an x-axis,y-axis, and z-axis of the three dimensional space. In this manner, asingle node can model the heat flowing vertically away from the spacedefined by the node, the heat flowing vertically into the space definedby the node, and the heat flowing across a horizontal plane fromneighboring circuit modules within the node's space. The U.S. patentapplication entitled “Method and Apparatus for Thermal Analysis” withSer. No. 12/144,651 filed on Jun. 24, 2008, now issued as U.S. Pat. No.8,104,007, provides further description for defining a thermal model fora particular die and is incorporated herein by reference.

FIG. 5 illustrates internal nodes and boundary nodes for bricks ofneighboring dies, where a brick represents an abstract cross segment ofa die. Specifically, a first die 510 includes bricks labeled A1, A2, A3,and A4 with brick A2 530 extracted to illustrate internal nodes andboundary nodes 550 associated with the brick A2 530. FIG. 5 alsoincludes a second die 520 that includes bricks labeled B1, B2, B3, andB4 with brick B1 540 extracted to illustrate internal nodes and boundarynodes 560 associated with the brick B1 540.

In this figure, an internal node, such as node N5 of brick 530, is anode that directly receives thermal contributions from thermal sourceswithin die 510. The boundary nodes 550 (i.e., nodes N2, N4, N6, and N8)and 560 (i.e., nodes N9, N11, N13, and N15) are nodes where heat may betransferred from die 510 to 520 and vice versa over multiple dimensions.For instance, boundary node N2 of brick 530 may receive thermalcontributions from node N9 along a first dimension, node N4 along asecond dimension, and node N6 along a third dimension. It should beapparent to one of ordinary skill in the art that the boundary node N2may also include thermal contributions from other nodes of the depictedbricks 530 and 540 and from other nodes of other bricks that are notextracted in FIG. 5.

In place of or in conjunction with boundary nodes, some embodimentsutilize virtual segments to facilitate determining the thermal models atthe boundaries of the preprocessed die. Virtual segments representabstract thermal conducting connections that account for thermal effectsat contact points between two or more discrete abutting surfaces (e.g.,two or more neighboring dies) over a single dimension.

FIG. 6 illustrates internal nodes and virtual segments 610 between thebrick 530 of die 510 and the brick 540 of die 520. As in FIG. 5, theinternal nodes for bricks 530 and 540 are those nodes whose thermalproperties are not directly affected by thermal properties of nodes forneighboring dies or the package. However instead of boundary nodes, FIG.6 introduces one or more virtual segments 610 at various contact pointsbetween the two dies 510 and 520.

In some embodiments, virtual segments represent an extrapolation of aboundary node at contact points between first and second dies. Forinstance, in FIG. 6, a single boundary node could be used to representnodes 620 and 630. However, some embodiments logically extrapolate theboundary nodes into a first internal node 620 of a first die, a secondinternal node 630 of a second die, and a virtual segment 610 to accountfor the thermal effects at the contact point previously represented bythe boundary node. In this manner, some embodiments remove thecomplexities associated with incorporating boundary nodes into thethermal model of a die, thus making the overall heat flow equationeasily parallelizable. Additionally, the virtual segments facilitate thecreation of high quality preconditioners that reduce the number ofiterations needed to solve the heat flow equation and reach a steadystate solution.

It should be apparent to one of ordinary skill in the art that thesingle dimensional nature of the virtual segment results in little to noaccuracy lost in the thermal model of the die. This is becausephysically there is no cross sectional area introduced between the diesas a result of the virtual segment even though logically it appears thisway in FIG. 6. As a result, virtual segments simplify the modeling ofthe thermal effects between different dies.

C. Heat Flow Equation Per Die

Together the internal nodes with the boundary nodes or virtual segmentsform a heat flow equation that expresses the temperature dependence ofthe power dissipation for several circuit modules of a particular die.In some embodiments, the heat flow equation for each die is expressed asC·T=P(T)  (1)In this equation, C is a conductivity matrix that expresses theestimated conductivity for nodes and virtual segments of a particulardie, T is a temperature vector that expresses the estimated temperature(i.e., temperature distribution) for the nodes and virtual segments ofthe particular die, and P(T) is a vector that is related to theestimated power consumption (i.e., power density) of the nodes andvirtual segments of the particular die.

Different embodiments express the conductivity matrix C andpower-related vector P(T) of equation (1) differently. Below is onefinite-element formulation for the problem where the identified nodes ofFIG. 5 are used to express the conductivity matrix C, compute thepower-related vector P(T), and calculate the temperature vector T. Otherembodiments might formulate C and P(T) differently for the heat flowequation (1). Yet other embodiments might use different heat flowequations than equation (1).

Some embodiments express the finite element formulation of the heat flowequation (1) by specifying the conductivity matrix C as:C _(ij)=∫_(Ω)∇^(T) N _(i) k∇N _(j) dΩ+∫ _(Γ) _(q) N _(i) hN _(j) d Γ_(q)  (2)and the power-related vector P(T) as:P _(i)(T)=∫_(Ω) N _(i) g(x,y,z,T)dΩ−∫ _(Γ) _(q) N _(i) fdΓ _(q).  (3)

In these equations,

-   -   Ω is the multi-layer IC design volume where the temperature        distribution is to be computed,    -   Γ_(q) is the boundary where the boundary condition is applied,        as illustrated in FIG. 7,    -   i and j are nodes in the volume,    -   N_(i) is the shape function associated with node i,    -   x, y, and z are point coordinates in the region,    -   T is temperature,    -   t is time,    -   g(x,y,z,T) is the steady state power density of a heat source        705 as the point heat source illustrated in FIG. 7,    -   k(x,y,z,T) is the thermal conductivity,    -   h is the heat transfer coefficient on the boundary through a        specified package model to the ambient environment, and    -   f is h*T_(a), where T_(a) is the ambient temperature.

The steady-state power density term g(x,y,z,T) can be written as:g(x,y,z,T)=g _(i)(x,y,z,T)+g _(s)(x,y,z,T)+g _(l)(x,y,z,T)  (4)where g_(i)(x,y,z,T) is the steady-state internal power density,g_(s)(x,y,z,T) is the steady-state switching power density, andg_(l)(x,y,z,T) is the steady-state leakage power density. Of these threepower consumption components, g_(i), g_(s), and g_(l), some embodimentsonly treat the leakage power consumption g_(l) as temperature dependent.Other embodiments might also treat the switching power consumptionand/or internal power consumption as temperature dependent. These finiteelement equations (2)-(4) are derived by discretizing the steady stateheat flow equation using specified boundary conditions.

To expedite the solving of the set of equations some embodimentsdetermine a corresponding preconditioner for the set of equations. Insome embodiments, the preconditioner is chosen such that P⁻¹≈Z⁻¹ whereP⁻¹ is the preconditioning matrix and Z is a matrix within the linearsystem, such as the conductivity matrix C. Ideally, a preconditioner isderived such that (P⁻¹*Z)=1, where 1 is the identity matrix. Therefore,the accuracy of the preconditioner depends on its likeness to the matrixZ⁻¹. It should be apparent to one of ordinary skill in the art that thepreconditioner of some embodiments may take one of several forms such asthe Jacobi preconditioner where the preconditioner is defined only alongthe diagonal of the matrix or the Successive Over Relaxation (SOR)preconditioner.

Some embodiments construct the preconditioner P⁻¹ by leveraginginformation that was realized during the derivation of the set ofequations. The conductivity matrix C within equation (1) is one suchmatrix within the set of equations that may be leveraged to constructthe preconditioner. To derive the preconditioner from the conductivitymatrix C, some embodiments perform a Cholesky factorization of thematrix C for each die. The Cholesky factors are then stored within adata structure. These stored values are for subsequent retrieval duringthe formulation of the overall heat flow equation used in performing thesteady-state thermal analysis of all dies within the multi-die ICdesign.

However, constructing the conductivity matrix C and its inverse is oftencomplicated by the interdependencies at the boundary nodes. By ignoringthe boundary nodes and including only the internal nodes within thepreconditioner construction, some embodiments are able to efficientlyconstruct a relatively accurate preconditioner.

FIG. 8 illustrates a conductivity matrix 810 for die 830 and aconductivity matrix 820 for die 840. Die 830 contains internal nodes 850and boundary nodes 860 that are shared with die 840. The conductivitymatrix 810 is complete in the sense that it accounts for conductivityfrom the internal nodes 850 and from each of the boundary nodes 860.However, it should be apparent that the internal nodes 850 are thelargest single factor determining the conductivity of the die 830.Moreover, the conductivity of the internal nodes 850 may be accuratelydetermined during the preprocessing of the die 830 whereas theconductivity at the boundary nodes 860 requires that at least die 840also be preprocessed. Therefore, to simplify the computation of thepreconditioner, some embodiments account only for the internal nodes 850in order to construct a relatively accurate preconditioner.

FIG. 9 illustrates a preconditioner matrix 910 that is created usingsimplified conductivity matrices. To obtain this preconditioner matrix,some embodiments simplify the conductivity matrices of dies 830 and 840by extracting the sub-matrices C11 and C33 that account for the internalnodes of the dies. Some embodiments then invert (i.e., factorize) thesimplified conductivity matrix for each die 830 and 840 and use theresult to form an overall preconditioner matrix 910 for the entiremulti-die design, as shown in FIG. 9. In some embodiments, the inversionof the sub-matrices C11 and C33 are implemented as Choleskyfactorization of the matrices. In this manner, the preconditioner isdetermined without performing computations (i.e., inversion operations)for the boundary nodes.

Some embodiments increase the accuracy of the preconditioner derivedfrom ignoring the boundary nodes by accounting for one or more virtualsegments in the derivation of the preconditioner. In this manner, someembodiments are able to construct a more accurate preconditioner thatfurther reduces the number of iterations and thus the convergence timewhen solving the overall heat flow equation.

FIGS. 10 and 11 illustrate constructing a preconditioner from internalnodes and virtual segments. FIG. 10 illustrates the multi-die design ofFIG. 8 and its corresponding conductivity matrix 1060, but with theboundary nodes replaced with the virtual segments 1030. In this figure,“1” represents node sets in die 1010 that are completely located withindie 1010 respectively and “2” represents node sets in die 1010 thatinterface with die 1020. Similarly, “4” represents node sets in die 1020that are completely located within die 1020 and “3” represents node setsin die 1020 that interface with die 1010. In some embodiments,introducing virtual segments simplifies the set of equations andconstruction of the preconditioner as each die can be viewed as ahomogeneous block of internal nodes with the thermal contributions fromother dies being accounted for through the virtual segments.

In this manner, the thermal analysis computation is simplified as theprocessing may now occur in a domain by domain fashion such that theinternal nodes for a die represent a domain and the virtual segmentsconnecting the two or more dies represent another domain. This allowsfor the parallelization of the heat flow computation resulting inreduced runtime for the thermal analysis. For example, a differentcomputational thread processes each domain separately using a differentprocessing unit of a computer system or networked set of computersystems.

FIG. 11 illustrates a preconditioner computed from the conductivitymatrix 1050 of the die 1010 and the conductivity matrix 1040 of the die1020 of FIG. 10. The conductivity values for the virtual segments areknown because the virtual segments are abstract objects that may beintroduced with any desired conductive property. Ideally, the virtualsegment will have high conductivity to represent the fact that thecontact points represented by the virtual segment are actually a singleshared point between two dies. Accordingly, during preprocessing thevalues for both the internal nodes and the virtual segments are knownand an inverse of these values is computed to derive the preconditioner.

Specifically, some embodiments modify the diagonal terms of theconductivity matrices (e.g., diagonal entries of C₂₂ and C₃₃ of FIG. 10)to take into account the effect of the virtual segments. For example, ifnodes in the node set “2” are connected to nodes in the node set “3” viaone or more virtual segments and the thermal conductivity of the virtualsegments is k, a term k*A/L will be added to the diagonal entries of theconductivity matrices C₂₂ and C₃₃ of FIG. 10, where A and L are thecross-sectional area and the height of the virtual segment which areknown during preprocessing. Some embodiments then compute thepreconditioner for each die 1010 and 1020 by factorizing theconductivity matrices 1040 and 1050 for the dies using Choleskyfactorization. The resulting decomposition of the 1040 and 1050 matricesthat produce the preconditioners for the dies 1010 and 1020 is shown inFIG. 11.

It should be apparent to one of ordinary skill in the art that someembodiments derive the preconditioners using different heuristics. Forexample, some embodiments guess values for the inversion of the boundarynodes instead of using the identity matrices. Additionally, it should beapparent to one of ordinary skill in the art that the above describedmethod for constructing the set of equations and the preconditionersapply to circuit designs of any arbitrary size or number of dies.

III. Overall Heat Flow Equation

A. Overall Heat Flow Equation

The overall heat flow equation for modeling the temperature distributionof the entire multi-die design is an equation derived from the sum ofits partitioned parts. By combining the set of equations for each dieinto an overall heat flow equation, the overall heat flow equation isable to account for the interdependencies of the various dies within themulti-die IC design and the package that will contain the IC design.Specifically, the solution of the overall heat flow equation produces atemperature distribution for the entire multi-die design that isdependent upon the configuration of the dies within the multi-die designand the thermal interactions between neighboring dies.

FIG. 12 illustrates a process 1200 for modeling the temperaturedistribution for the entire multi-die design from the preprocessedinformation of each die. The process 1200 begins by constructing (1210)the overall heat flow equation that models the temperature distributionfor the entire multi-die design from the preprocessed information ofeach die. In some embodiments, the overall flow equation includes a setof matrices and vectors in the form:K*T=b  (5)In this equation, K is a matrix that includes the conductivity matricesfrom the individual dies, T is a temperature vector that expresses theestimated temperature for different nodes of different dies in themulti-die design and is a function of spatial coordinates x, y, and zgiven power dissipation values, and b is a vector that is related to theestimated power consumption for different nodes of different dies in themulti-die design.

FIG. 10 above illustrates the formation of the overall heat conductionmatrix K for a multi-die IC design from each partial heat conductionmatrix representing a die of the IC design. In this figure, the ICdesign includes a first die 1010 and a second die 1020 with virtualsegments 1030 modeling the thermal effects between the dies 1010 and1020. A first conductivity sub-matrix 1050 is formed from the internalnodes of die 1010 and the virtual segment 1030 and a second conductivitysub-matrix 1040 is formed from the internal nodes of die 1020 and thevirtual segment 1030. Together, these various sub-matrices are used togenerate the overall heat conduction matrix 1060 used for performing thesteady-state thermal analysis of the multi-die IC design.

In constructing the overall heat flow equation at step 1210 of FIG. 12,some embodiments also construct an overall preconditioning matrix thatincludes each of the preprocessed preconditioning matrices for eachseparate die of the multi-die design. To construct the overallpreconditioning matrix, some embodiments retrieve the preconditioner foreach die derived during preprocessing. FIG. 11 illustrates the formationof the overall preconditioning matrix from the conductivity sub-matricesof FIG. 10. Together, these preconditioning sub-matrices create theoverall preconditioning matrix 1110 used for performing the steady-statethermal analysis of the multi-die IC design.

After constructing the matrices for the overall system, the process 1200then employs (at 1220) a numerical iterative solver to solve the set ofequations represented by the matrices to converge the sets of equationsto a steady state solution vector. Specifically, the numerical iterativesolver performs a first set of iterations that (1) determines andupdates power dissipation values, (2) calls a second set of iterationsthat produces a temperature distribution based on the power dissipationvalues, and (3) determines if the overall system has reached a steadystate. If the steady state has not been reached, the first set ofiterations is repeated. In some embodiments, the second set ofiterations performs the preconditioned conjugate gradient method toproduce a temperature distribution (at 1230) for each of the dies in themulti-die design.

When the steady state solution is reached, the process uses theresulting temperature distributions to obtain (at 1240) a powerdistribution map for each of the dies in the design where one suchexample is illustrated in FIG. 13. The power distribution illustrated inFIG. 13 plots total power consumption in milliwatts as a function ofspatial coordinates x, y, z on the IC.

FIG. 14 presents a solving process 1400 using the above describediterations to solve the overall heat flow equation for the overallsystem. As part of the first set of iterations, the process begins byproviding (at 1410) an initial estimate for initial temperature valuesof the system. The process then calculates (at 1420) the powerdissipation values for each of the various thermal elements (e.g.,internal nodes, boundary nodes, virtual segments, circuit modules,bricks, etc.) based on the current temperature of the thermal elementand its non-linear temperature-dependent power consumption model.

The process uses (at 1430) these power dissipation values in conjunctionwith the conjugate gradient method (i.e., the second set of iterations)to produce a temperature distribution for the overall system. In theconjugate gradient method, subsequent iterations depend on computationsfrom the prior iteration. In this manner, the temperature vector at aparticular iteration in the iterative solving method can be expressed asfollows:T _(i) =f(K*T _(i-1) ,b)  (6)where T_(i) specifies the temperature vector for the current iterationand T_(i-1) specifies the temperature vector for the previous iteration.

The pseudo-code below provides a more detailed description for theiterations performed by the preconditioned conjugate gradient in orderto produce a temperature distribution:

T = T₀ r = b − [K] * T₀ d = [P⁻¹] * r while not converge α = (r^(T) *[P⁻¹] * r) / (d^(T) * [K] * d) T = T + α * d r_(new) = r − α * [K] * d β= (r^(T) _(new) * [P⁻¹] * r_(new)) / (r^(T) * [P⁻¹] * r) d = [P⁻¹] *r_(new) + β * d r = r_(new) end while

Each resulting temperature distribution comprises a vector oftemperature values that correspond to temperatures of the thermalelements of a die in the multi-die design. This distribution providesthe steady-state temperature as a function of spatial coordinates giventhe power dissipation values that were calculated. When nodes are usedwithin the calculation, the spatial coordinates are multi-dimensionalspatial coordinates that in some embodiments are represented over x, y,and z dimensions. However, when virtual segments are used within thecalculation, the spatial coordinates are only a single dimensionalspatial coordinate.

The temperature values produced at 1430 are then used within the firstset of iterations to update the power dissipation values. The processcalculates the power dissipation of each thermal element again based onthe interpolated temperature of the particular thermal element (i.e.,the temperature interpolated from the current temperature of its nearbynodes) and its non-linear temperature-dependent power consumption model(e.g., its exponential power consumption model). These new powerdissipation values are based on the calculated temperature distributionas opposed to the initial estimated temperature distribution.

The process then uses (at 1450) the power dissipation values calculatedat 1440 to again solve the heat flow equation to produce a newtemperature distribution. As before, the process uses the preconditionedconjugate gradient method to produce the new temperature distributions.The solution to the heat flow equation is again a vector of temperaturevalues that provide a calculated temperature distribution for theoverall system.

The process compares (at 1460) the last two temperature distributionsthat it obtained by solving the heat flow equation. In some embodiments,the comparison of the two temperature distributions (at 1460) entails acomputation of the average difference between the temperature values ateach thermal element in the two maps of a particular die divided by theaverage temperature value on the new map for the particular die. Whenthe average error is within a particular threshold (e.g., less than apredefined threshold), the process ends and outputs the new temperaturedistribution.

However, when the average error computed at 1460 is not within thethreshold, the process 1400 repeats the first and second set ofiterations. Specifically, the process uses (at 1440) the new temperaturedistribution to update the power dissipation values again, uses (at1450) the new power dissipation values to obtain a new temperaturedistribution, and then compares (at 1460) the new temperaturedistribution with the prior temperature distribution to determinewhether the average error falls within the predefined threshold.

The process 1400 continues until the difference between two subsequentlycalculated temperature distributions is small enough that, when comparedat 1460, the average error falls below the specified threshold. Thesolution computed in the final iteration through 1450 is the temperaturevector T that represents the temperature distribution across themulti-die IC design.

Some embodiments expedite the processing of the temperature distributionand the reaching of the steady-state solution by leveraging theparallelized nature of the matrices involved in the computations.Specifically, the overall preconditioning matrix is block diagonal. In amulti-threaded environment, each thread performs a computation involvingone sub-matrix or block of the preconditioning matrix.

B. Configuration Viability

Some embodiments utilize the resulting temperature distribution todetermine the viability of a particular configuration for two or moredies of a multi-die design within a particular package. Also from theresulting temperature distribution, some embodiments determine aconfiguration that yields an optimal temperature distribution for aparticular package.

FIG. 15 presents a process 1500 performed by some embodiments thatutilizes the derived temperature distribution for the entire multi-diedesign to determine the viability of a particular multi-dieconfiguration within a particular package. The process 1500 begins byreceiving (at 1510) a multi-die design that specifies a particularconfiguration for the dies of the multi-die design. The process 1500derives and computes (at 1520) the overall heat flow equation to producea thermal model for the overall design based on the particularconfiguration of each die.

Solving the heat flow equation to reach the steady state solutiondetermines (at 1530) whether the operating temperature for the diesexceed specified tolerances. In some embodiments, this determination ismade in conjunction with the heat conductance provided by a particularpackage that may be assisted by passive or active cooling solutions. Inother embodiments, the determination is made based on a relative scalewhere the computed thermal model is quantified and resulting values areused to determine whether the thermal model exceeds a predeterminedvalue. In some embodiments, the relative scale specifies variousthresholds for different packages that if exceeded render the design notviable.

If the thermal model satisfies specified heat constraints, the multi-diedesign, specifically the particular configuration of the dies within thedesign, is operationally viable and the process ends. However, if thethermal model does not satisfy specified heat constraints, then theparticular configuration of the dies within the multi-die is not viable(i.e., may suffer from thermal runaway). In such situations, someembodiments select (at 1540) an alternative configuration for themultiple dies to better distribute heat across the design in order tocure the thermal limitations that restrict the implementation of themulti-die design. Alternatively, some embodiments select (at 1540) analternative package to better conduct heat away from the configurationin order to cure the thermal limitations that restrict theimplementation of the multi-die design. It should be apparent to one ofordinary skill in the art that the selection of the alternateconfiguration or the selection of the alternate package performed at1540 is an operation that in some instances is performed by someembodiments of the invention and in other instances is an operationperformed by the layout designer in response to a notification raised bythe process 1500 at 1540.

FIG. 16 illustrates a possible configuration 1605 for multiple dies of amulti-die design within a particular package. In this figure, theconfiguration 1605 specifies three dies 1610, 1620, and 1630 that arearranged in two tiers. A first die 1610 is stacked on top (i.e., ondifferent layers than of an IC) dies 1620 and 1630. When placed withinthe particular package, a large amount of heat produced by dies 1620 and1630 will be passed to die 1610 before the heat is conducted away by thepackage. Therefore, the majority of the heat will be distributeddirectly above the surface of chip 1610.

FIG. 17 presents an alternative configuration 1705 for the multiple diesof the multi-die design illustrated in FIG. 16. In this figure, theconfiguration 1705 places the dies 1610, 1620, 1630 in a horizontalarrangement within a package as opposed to the vertical arrangementshown in FIG. 16. Though the configuration 1705 of FIG. 17 occupies morearea along a horizontal axis, the configuration 1705 also provides amore even heat distribution as each die can conduct heat to the packageas opposed to the configuration 1605 of FIG. 16 where a large amount ofheat from dies 1620 and 1630 passes through die 1610 before exiting thepackage. Therefore, it is likely that the configuration 1705 of FIG. 17runs cooler than the configuration 1605 of FIG. 16. In some instances,the computed thermal model at 1520 will reveal that the configuration1705 satisfies the thermal constraints imposed on the multi-chip designand the selected package and is thus a viable solution.

IV. Computer System

Many of the above-described processes are implemented as softwareprocesses that are specified as a set of instructions recorded on amachine readable medium (also referred to as computer readable medium).When these instructions are executed by one or more computationalelement(s) (such as processors or other computational elements likeASICs and FPGAs), they cause the computational element(s) to perform theactions indicated in the instructions. Computer is meant in its broadestsense, and can include any electronic device with a processor. Examplesof computer readable media include, but are not limited to, CD-ROMs,flash drives, RAM chips, hard drives, EPROMs, etc.

In this specification, the term “software” is meant in its broadestsense. It can include firmware residing in read-only memory orapplications stored in magnetic storage which can be read into memoryfor processing by a processor. Also, in some embodiments, multiplesoftware inventions can be implemented as sub-parts of a larger programwhile remaining distinct software inventions. In some embodiments,multiple software inventions can also be implemented as separateprograms. Finally, any combination of separate programs that togetherimplement a software invention described here is within the scope of theinvention.

FIG. 18 conceptually illustrates a computer system with which someembodiments of the present invention are implemented. Computer system1800 includes a bus 1805, a processor 1810, a system memory 1815, aread-only memory 1820, a permanent storage device 1825, input devices1830, and output devices 1835.

The bus 1805 collectively represents all system, peripheral, and chipsetbuses that communicatively connect the numerous internal devices of thecomputer system 1800. For instance, the bus 1805 communicativelyconnects the processor 1810 with the read-only memory 1820, the systemmemory 1815, and the permanent storage device 1825.

From these various memory units, the processor 1810 retrievesinstructions to execute and data to process in order to execute theprocesses of the invention. Due to the parallelized nature of thevarious processes and computations, some embodiments execute the variousprocesses and computations in a multi-threaded environment. Theread-only memory 1820 stores static data and instructions that areneeded by the processor 1810 and other modules of the computer system.The permanent storage device 1825, on the other hand, is aread-and-write memory device. This device is a non-volatile memory unitthat stores instructions and data even when the computer system 1800 isoff. Some embodiments of the invention use a mass-storage device (suchas magnetic or optical disk and its corresponding disk drive) as thepermanent storage device 1825. Other embodiments use a removable storagedevice (such as a floppy disk, and its corresponding disk drive) as thepermanent storage device.

Like the permanent storage device 1825, the system memory 1815 is aread-and-write memory device. However, unlike storage device 1825, thesystem memory 1815 is a volatile read-and-write memory, such as a randomaccess memory. The system memory stores some of the instructions anddata that the processor needs at runtime. In some embodiments, theinvention's processes are stored in the system memory 1815, thepermanent storage device 1825, and/or the read-only memory 1820.

The bus 1805 also connects to the input and output devices 1830 and1835. The input devices enable the user to communicate information andselect commands to the computer system. The input devices 1830 includealphanumeric keyboards and cursor-controllers.

The output devices 1835 display images generated by the computer system.For instance, these devices might display a three-dimensionaltemperature map. The output devices include printers and display devicessuch as cathode-ray tubes or liquid crystal displays.

Finally, as illustrated in FIG. 18, the bus 1805 also couples computer1800 to a network 1840 through a network adapter (not shown). In thismanner, the computer can be part of a network of computers (such as alocal area network, a wide area network, or an intranet) or a network ofnetwork (such as the Internet).

Any or all of the components of computer system 1800 may be used inconjunction with the invention. However, one of ordinary skill in theart would appreciate that any other system configuration may also beused in conjunction with the present invention.

While the invention has been described with reference to numerousspecific details, one of ordinary skill in the art will recognize thatthe invention can be embodied in other specific forms without departingfrom the spirit of the invention. For instance, the process 1200computes two power dissipation values of each circuit module at twotemperatures and then derives coefficients for the non-linear heatsource model from these two values. In other embodiments, the process1200 might receive the coefficients of the non-linear leakage powermodel for a circuit module from a manufacturer or a developer of acircuit library. In such a situation, the process 1200 might then onlyneed one to compute one power dissipation value for a circuit module toformulate its heat flow equation.

Also, several embodiments described above treat only leakage power asthe power dissipation component that is dependent on the temperature. Asmentioned above, the total power dissipation in an IC is made up ofleakage power, switching power, and internal power of the variouscircuit modules. Other embodiments may treat other components of thepower dissipation (e.g., switching power and internal power) astemperature dependent components. The temperature dependence of theseother components might be specified through an exponential model or someother model. Thus, one of ordinary skill in the art would understandthat the invention is not to be limited by the foregoing illustrativedetails, but rather is to be defined by the appended claims.

The invention claimed is:
 1. A method for performing thermal analysis ofan integrated circuit (IC) design comprising a plurality of dies, themethod comprising: selecting a first arrangement of dies for the IC froma plurality of arrangements of dies; defining a heat flow equation formodeling a thermal distribution for the first arrangement of dies; andby a computer, solving the heat flow equation to produce an overallthermal distribution for the first arrangement of dies; determining aviability of the first arrangement of dies in the IC design based on theoverall thermal distribution satisfying a predetermined thermalthreshold; selecting a second arrangement of dies for the IC from theplurality of arrangements of dies when the first arrangement of the diesis not viable; repeating said defining, solving, and determining for thesecond arrangement of dies; and selecting the second arrangement of diesas the arrangement of dies for the IC if the second arrangement of diessatisfy thermal constrains of the IC.
 2. The method of claim 1, whereineach die comprises a set of thermal elements, wherein the heat flowequation models conductivity at each element and a set of vertices ofthe element.
 3. The method of claim 1, wherein each die comprises a setof thermal elements, wherein the heat flow equation models total powerdissipated at the elements.
 4. The method of claim 1, wherein definingthe heat flow equation comprises (i) identifying thermal effects at aplurality of locations along each die, and (ii) defining the heat flowequation using the identified thermal effects for each die.
 5. Themethod of claim 1, wherein determining the viability based on theoverall thermal distribution satisfying a predetermined thermalthreshold comprises determining whether the arrangement results in athermal runaway situation.
 6. The method of claim 1, wherein definingthe heat flow equation comprises for each particular die (i) identifyinginternal thermal effects for thermal elements at a plurality oflocations within the particular die, and (ii) identifying a thermaleffect for at least one thermal element at a boundary location along theparticular die over which thermal effects are exchanged with neighboringdies to account for thermal interdependencies between the particular dieand at least one neighboring die.
 7. A non-transitory computer readablemedium storing a computer program which when executed by at least oneprocessor performs thermal analysis of an integrated circuit (IC) designcomprising a plurality of dies, the computer program comprising sets ofinstructions for: selecting a first arrangement of dies for the IC froma plurality of arrangements of dies; defining a heat flow equation formodeling a thermal distribution for the first arrangement of dies;solving the heat flow equation to produce an overall thermaldistribution for the first arrangement of dies; determining a viabilityof the first arrangement of dies in the IC design based on the overallthermal distribution satisfying a predetermined thermal threshold;selecting a second arrangement of dies for the IC from the plurality ofarrangements of dies when the first arrangement of the dies is notviable; repeating said defining, solving, and determining for the secondof dies; and selecting the second arrangement of dies as the arrangementof dies for the IC if the second arrangement of dies satisfy thermalconstrains of the IC.
 8. The non-transitory computer readable medium ofclaim 7, wherein each die comprises a set of thermal elements, whereinthe heat flow equation models conductivity at each element and a set ofvertices of the element.
 9. The non-transitory computer readable mediumof claim 7, wherein each die comprises a set of thermal elements,wherein the heat flow equation models total power dissipated at theelements.
 10. The non-transitory computer readable medium of claim 7,wherein the set of instructions for defining the heat flow equationcomprises sets of instructions for: identifying thermal effects at aplurality of locations along each die; and defining the heat flowequation using the identified thermal effects for each die.
 11. Thenon-transitory computer readable of claim 7, wherein the set ofinstructions for determining the viability based on the overall thermaldistribution satisfying a predetermined thermal threshold comprises aset of instructions for determining whether the arrangement results in athermal runaway situation.
 12. The non-transitory computer readable ofclaim 7, wherein the set of instructions for defining the heat flowequation comprises set of instructions for: identifying, for eachparticular die, internal thermal effects for thermal elements at aplurality of locations within the particular die; and identifying, foreach particular die, a thermal effect for a thermal element at aboundary location along the particular die over which thermal effectsare exchanged with neighboring dies to account for thermalinterdependencies between the particular die and at least oneneighboring die.
 13. A system comprising: at least one processor forexecuting sets of instructions; a memory storing a computer program forperforming thermal analysis of an integrated circuit (IC) designcomprising a plurality of dies, the computer program comprising sets ofinstructions to be executed by the processor for: selecting a firstarrangement of dies for the IC from a plurality of arrangements of dies;defining a heat flow equation for modeling a thermal distribution forthe first arrangement of dies; solving the heat flow equation to producean overall thermal distribution for the first arrangement of dies;determining a viability of the first arrangement of dies in the ICdesign based on the overall thermal distribution satisfying apredetermined thermal threshold; selecting a second arrangement of diesfor the IC from the plurality of arrangements of dies when the firstarrangement of the dies is not viable; repeating said defining, solving,and determining for the second arrangement of dies; and selecting thesecond arrangement of dies as the arrangement of dies for the IC if thesecond arrangement of dies satisfy thermal constrains of the IC.
 14. Thesystem of claim 13, wherein each die comprises a set of thermalelements, wherein the heat flow equation models conductivity at eachelement and a set of vertices of the element.
 15. The system of claim13, wherein each die comprises a set of thermal elements, wherein theheat flow equation models total power dissipated at the elements. 16.The system of claim 13, wherein the set of instructions for defining theheat flow equation comprises sets of instructions for: identifyingthermal effects at a plurality of locations along each die; and definingthe heat flow equation using the identified thermal effects for eachdie.
 17. The system of claim 13, the set of instructions for saiddetermining comprising a set of instructions for determining whether thearrangement results in a thermal runaway situation.
 18. The system ofclaim 13, wherein the set of instructions for defining the heat flowequation comprises set of instructions for: identifying, for eachparticular die, internal thermal effects for thermal elements at aplurality of locations within the particular die; and identifying, foreach particular die, a thermal effect for a thermal element at aboundary location along the particular die over which thermal effectsare exchanged with neighboring dies to account for thermalinterdependencies between the particular die and at least oneneighboring die.